<!--
 * @Author: your name
 * @Date: 2020-10-09 16:36:45
 * @LastEditTime: 2020-10-10 14:58:04
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue3\src\views\Plan\index.vue
-->

<template>
    <div>
        <Create @handlePlan="handlePlan"></Create>
    </div>
</template>
<script>
import Create from './create';
export default {
    components: {
        Create
    },
    setup() {
        const handlePlan = (plan) => {  // this 指向不明确， 不方TS便推断
            console.log(plan);
        }
        return{
            handlePlan
        }
    }
}
</script>
